<?php echo $this->getContent(); ?>
<?php use Phalcon\Tag;?>
<style>
td,th{text-align: center;}
</style>
<h2>业务系统</h2>
<table class="table table-bordered table-striped">
    <thead>
        <th>系统名称</th>
        <th>网址</th>
        <th>标识符</th>
        <th>添加时间</th>
        <th>更改时间</th>
        <th colspan="2">　　</th>
    </thead>
    <tbody>
    <?php foreach($page as $product){ ?>
        <tr>
            <td><?=$product->name ?></td>
            <td><?=$product->url ?></td>
            <td><?=$product->identifier ?></td>
            <td><?=$product->addTime ?></td>
            <td><?=$product->updateTime ?></td>
            <td><?=$this->tag->linkTo(array("businesssystems/edit/".$product->id, '修改')) ?></td>
            <td><?= $this->tag->linkTo(array("businesssystems/delete/".$product->id, '删除')) ?></td>
        </tr>
    <?php } ?>
    </tbody>
</table>
